<template>
	<view class="content">
		<view class="price-box">
			<text>支付金额</text>
			<text class="price">{{orderInfo.totalAmount}}</text>
		</view>
	
		<view class="pay-type-list">
			<view class="type-item b-b" @click="changePayType(1)">
				<text class="icon iconfont icon-weixinzhifu"></text>
				<view class="con">
					<text class="tit">微信支付</text>
					<text>推荐使用微信支付</text>
				</view>
				<label class="radio">
					<radio value="" color="#fa436a" :checked='payType == 1' />
					</radio>
				</label>
			</view>
			<view class="type-item b-b" @click="changePayType(2)">
				<text class="icon iconfont icon-zhifubao"></text>
				<view class="con">
					<text class="tit">支付宝支付</text>
				</view>
				<label class="radio">
					<radio value="" color="#fa436a" :checked='payType == 2' />
					</radio>
				</label>
			</view>
		</view>
	
		<text class="mix-btn" @click="confirm">确认支付</text>
	</view>
</template>

<script src = "./pay.js"></script>

<style lang="scss" src = "./pay.scss"></style>